home *** CD-ROM | disk | FTP | other *** search
- //--------------------------------------------------------------
- //
- // FAbout.wfm -- About box for the Fleet application.
- //
- // This form displays system memory in a standard
- // application about box. This form opens from the
- // Fleet menu selection: Help | About Fleet.
- //
- // Dependencies: <none>
- //
- // Visual dBASE Samples Group
- //
- // $Revision: 1.9 $
- //
- // Copyright (c) 1997, Borland International, Inc.
- // All rights reserved.
- //
- //---------------------------------------------------------------
- SET TALK OFF
- ** END HEADER -- do not remove this line
- //
- // Generated on 11/12/97
- //
- parameter bModal
- local f
- f = new FABOUTFORM()
- if (bModal)
- f.mdi = false // ensure not MDI
- f.readModal()
- else
- f.open()
- endif
-
- class FABOUTFORM of FORM
- with (this)
- readModal = class::FORM_READMODAL
- autoCenter = true
- scaleFontSize = 8
- scaleFontBold = false
- colorNormal = "lightblue"
- height = 15
- left = 9
- top = 0.2632
- width = 58
- text = "About Fleet Manager"
- background = "filename planes.jpg"
- mdi = false
- icon = "filename Fleet.ico"
- endwith
-
-
- this.BUTTONOK = new PUSHBUTTON(this)
- with (this.BUTTONOK)
- onClick = {;form.close()}
- onOpen = {; this.text = ""}
- height = 1.6
- left = 40.5
- top = 12.5
- width = 15
- text = " "
- metric = 0 // Chars
- upBitmap = "filename OK.BMP"
- fontName = "MS Sans Serif"
- fontSize = 8
- group = true
- colorNormal = "BtnText/BtnFace"
- value = false
- endwith
-
-
- this.RECTANGLE1 = new RECTANGLE(this)
- with (this.RECTANGLE1)
- left = 1
- top = 9.5
- width = 56
- height = 0.15
- metric = 0 // Chars
- text = ""
- colorNormal = "lightblue"
- border = false
- borderStyle = 10 // Etched Out
- endwith
-
-
- this.LABELRES = new TEXT(this)
- with (this.LABELRES)
- height = 1
- left = 1
- top = 10
- width = 40
- metric = 0 // Chars
- colorNormal = "white"
- transparent = true
- fontSize = 9
- fontBold = true
- text = "Physical Memory Available to Windows:"
- endwith
-
-
- this.TEXTVERSION = new TEXT(this)
- with (this.TEXTVERSION)
- height = 1
- left = 1
- top = 7
- width = 45
- metric = 0 // Chars
- colorNormal = "white"
- transparent = true
- fontSize = 9
- fontBold = true
- text = "Version 7.0"
- endwith
-
-
- this.TEXTCOPYRIGHT = new TEXT(this)
- with (this.TEXTCOPYRIGHT)
- height = 1
- left = 1
- top = 8
- width = 45
- metric = 0 // Chars
- colorNormal = "white"
- transparent = true
- fontSize = 9
- fontBold = true
- text = "Copyright (C) 1997 Borland International"
- endwith
-
-
- this.LABELFREE = new TEXT(this)
- with (this.LABELFREE)
- height = 1
- left = 1
- top = 11
- width = 40
- metric = 0 // Chars
- colorNormal = "white"
- transparent = true
- fontSize = 9
- fontBold = true
- text = "Free Memory:"
- endwith
-
-
- this.TEXTFREE = new TEXT(this)
- with (this.TEXTFREE)
- height = 1
- left = 41.5
- top = 10
- width = 14.5
- metric = 0 // Chars
- colorNormal = "white"
- alignHorizontal = 2 // Right
- transparent = true
- fontSize = 9
- fontBold = true
- text = "TEXTFREE"
- endwith
-
-
- this.TEXTRES = new TEXT(this)
- with (this.TEXTRES)
- height = 1
- left = 41.5
- top = 11
- width = 14.5
- metric = 0 // Chars
- colorNormal = "white"
- alignHorizontal = 2 // Right
- transparent = true
- fontSize = 9
- fontBold = true
- text = "TEXTRES"
- endwith
-
-
- this.TEXTAPP = new TEXT(this)
- with (this.TEXTAPP)
- height = 2
- left = 1
- top = 0.5
- width = 56
- metric = 0 // Chars
- colorNormal = "darkblue/white"
- alignVertical = 1 // Middle
- alignHorizontal = 1 // Center
- fontName = "MS Sans Serif"
- fontBold = true
- text = "A Visual dBASE Sample Application"
- borderStyle = 10 // Etched Out
- endwith
-
-
- this.IMAGELOGO = new IMAGE(this)
- with (this.IMAGELOGO)
- height = 3
- left = 1
- top = 3
- width = 56
- metric = 0 // Chars
- dataSource = 'FILENAME "logo2.GIF"'
- alignment = 3 // Keep Aspect Stretch
- borderStyle = 3 // None
- endwith
-
-
- // {Linked Method} form.readModal
- function Form_ReadModal
- local nFree, nRes
- nFree = TRANSFORM( MEMORY() , "999,999,999" )
- nRes = TRANSFORM( MEMORY(1), "999,999,999" )
- with ( this )
- TEXTFREE.text := LTRIM( RTRIM( nFree ) ) + " KB"
- TEXTRES.text := LTRIM( RTRIM( nRes ) ) + " KB"
- endwith
- return FABOUTFORM::ReadModal()
-
- endclass
-